package PlaneGame.CODE;

import java.awt.*;

import static PlaneGame.CODE.GameFrame.suspendFlag;

public class EnemyCGenerator{
    boolean on_off=false;
    EnemyC enemyC=new EnemyC();
    public EnemyCGenerator() {
        init();
    }
    void init(){
        on_off=false;
        enemyC.init();
    }
    void on(){
        on_off=true;
        enemyC.on();
    }
    void drawVector(Graphics g){
        if (on_off&&!suspendFlag) {
            enemyC.drawMyself(g);
        }
    }
}
